package org.bluedream.core.module.dao.goods;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.bluedream.core.module.entity.goods.BrandItem;

/**
 * @ClassName BrandItemDao
 * @Description TODO
 * @Author foxsand
 * @Data 9:34
 * @Version
 */
public interface BrandItemDao extends BaseMapper<BrandItem> {

    @Override
    @Select("select BrandItem.* " +
            " from BrandItem BrandItem " +
            "${ew.customSqlSegment}")
    IPage<BrandItem> selectPage(IPage<BrandItem> page, @Param("ew") Wrapper<BrandItem> queryWrapper);
}
